﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAL;
namespace BUS
{
    public class AddGoodsBL
    {
        private AddGoodsDAL dal = new AddGoodsDAL();

        #region[AddGoods_SelectALL]
        public List<DTO.AddGoodsDTO> AddGoods_SelectALL()
        {
            return dal.AddGoods_SelectALL();
        }
        #endregion

        #region[AddGoods_SelectByDate]
        public List<DTO.AddGoodsDTO> AddGoods_SelectByDate(DateTime date)
        {
            return dal.AddGoods_SelectByDate(date);
        }
        #endregion

        #region[AddGoods_SelectByID]
        public DTO.AddGoodsDTO AddGoods_SelectByID(int id)
        {
            return dal.AddGoods_SelectByID(id);
        }
        #endregion

        #region [AddGoods_Insert]
        public bool AddGoods_Insert(DTO.AddGoodsDTO adg)
        {
            return dal.AddGoods_Insert(adg);
        }
        #endregion
    }
}
